#!/bin/bash
python=/opt/miniconda3/envs/indextts/bin/python
if [ "$1" = "clear" ] ; then
    $python ./env/clear.py
elif [ "$1" = "build" ] ; then
    $python ./env/encryp.py build_ext --inplace
    rm -rf ./plus.zip && rm -rf ./plus/__pycache__ && zip -r plus.zip plus
    $python ./env/clear.py
else
    $python ./env/encryp.py build_ext --inplace
fi